<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h4 class="modal-title">报名信息新增</h4>
</div>
<form id="defaultForm" method="post" class="form-horizontal" action="/project/objectManage/message_save">
    <div class="modal-body">

            <div class="form-group">
                <label class="col-lg-1 control-label" style="text-align:center">科目名称</label>
                <label class="col-lg-1 control-label" style="text-align:center">CAN_ID</label>
                <label class="col-lg-1 control-label" style="text-align:center">CAN数据长</label>
                <label class="col-lg-1 control-label" style="text-align:center">大小头</label>
                <label class="col-lg-1 control-label" style="text-align:center">数据类型</label>
                <label class="col-lg-1 control-label" style="text-align:center">起始字节</label>
                <label class="col-lg-1 control-label" style="text-align:center">起始位</label>
                <label class="col-lg-1 control-label" style="text-align:center">结束字节</label>
                <label class="col-lg-1 control-label" style="text-align:center">结束位</label>
                <label class="col-lg-1 control-label" style="text-align:center">偏移量</label>
                <label class="col-lg-1 control-label" style="text-align:center">倍率</label>
                <label class="col-lg-1 control-label" style="text-align:center">单位</label>
            </div>

<div class="form-group">
                <div class="col-lg-1">
                    <input type="text" class="form-control" name="name" />
                </div>

                <div class="col-lg-1">
                    <input type="text" class="form-control" name="canId" />
                </div>

                <div class="col-lg-1">
                    <select class="form-control" name="length">
                        <option th:each="parameter:${objects}" th:value="${parameter.id}" th:text="${parameter.name}"></option>
                    </select>
                </div>

                <div class="col-lg-1">
                    <select class="form-control" name="status">
                        <option th:each="parameter:${dataTypes}" th:value="${parameter.id}" th:text="${parameter.name}">
                    </select>
                </div>

    <div class="col-lg-1">
        <select class="form-control" name="type">
            <option th:each="parameter:${dataTypes}" th:value="${parameter.id}" th:text="${parameter.name}">
        </select>
    </div>


            <div class="col-lg-1">
                <select class="form-control" name="startByte">
                    <option th:each="parameter:${sources}" th:value="${parameter.id}" th:text="${parameter.name}">
                </select>
            </div>

    <div class="col-lg-1">
        <select class="form-control" name="startPoint">
            <option th:each="parameter:${dataTypes}" th:value="${parameter.id}" th:text="${parameter.name}">
        </select>
    </div>

    <div class="col-lg-1">
        <select class="form-control" name="endByte">
            <option th:each="parameter:${dataTypes}" th:value="${parameter.id}" th:text="${parameter.name}">
        </select>
    </div>

    <div class="col-lg-1">
        <select class="form-control" name="endPoint">
            <option th:each="parameter:${dataTypes}" th:value="${parameter.id}" th:text="${parameter.name}">
        </select>
    </div>


    <div class="col-lg-1">
        <input type="text" class="form-control" name="offset" />
    </div>

    <div class="col-lg-1">
        <input type="text" class="form-control" name="rate" />
    </div>

    <div class="col-lg-1">
        <select class="form-control" name="unit">
            <option th:each="parameter:${dataTypes}" th:value="${parameter.id}" th:text="${parameter.name}">
        </select>
    </div>
        </div>

        <div class="form-group">
            <label class="col-lg-1 control-label" >对应平台编号</label>
            <div class="col-lg-1">
                <input type="text" class="form-control" name="platformNumber" />
            </div>
        </div>


    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="submit" class="btn btn-primary">保存</button>
    </div>
</form>

<script>

</script>